'NWWRKSTN.BAS NetWare Workstation Environment Services Interface for Visual Basic For Windows
'Version 1.0
'Novell Systems Research Department, Novell, Inc.
'Copyright (c) 1993, Novell, Inc.
'This interface is not supported through Novell's regular
'support channels. See README.TXT for more information.
Declare Function EndOfJob Lib "NWNETAPI.DLL" () As Integer
Declare Function GetConnectionID Lib "NWNETAPI.DLL" (ByVal fileServerName$, connectionID%) As Integer
Declare Function GetDefaultConnectionID Lib "NWNETAPI.DLL" () As Integer
Declare Function GetNetWareShellVersion Lib "NWNETAPI.DLL" (majorVersion%, minorVersion%, revisionLevel%) As Integer
Declare Function GetNumberOfLocalDrives Lib "NWNETAPI.DLL" () As Integer
Declare Function GetPreferredConnectionID Lib "NWNETAPI.DLL" () As Integer
Declare Function GetPrimaryConnectionID Lib "NWNETAPI.DLL" () As Integer
'get max length of strings
Declare Sub GetWorkstationEnvironment Lib "NWNETAPI.DLL" (operatingSystemType As Any, operatingSystemVersion As Any, hardwareType$, ByVal shortHardWareType As Any)
Declare Function IsConnectionIDInUse Lib "NWNETAPI.DLL" (ByVal connectionID%) As Integer
Declare Function SetEndOfJobStatus Lib "NWNETAPI.DLL" (ByVal endOfJobFlag%) As Integer
Declare Function SetNetWareErrorMode Lib "NWNETAPI.DLL" (ByVal errorMode%) As Integer
Declare Sub SetPreferredConnectionID Lib "NWNETAPI.DLL" (ByVal connectionID%)
Declare Function SetPrimaryConnectionID Lib "NWNETAPI.DLL" (ByVal primaryConnectionID%) As Integer